package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 合同协议其他信息表
 * </p>
 *
 * @author LX
 * @since 2018-09-17
 */
@TableName("erp_contract_comprehensive")
public class ErpContractComprehensive extends Model<ErpContractComprehensive> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    /**
     * 天数

     */
    private  String days;
    /**
     * 财务报告开始
     */
    @TableField("fin_report_start")
    private String finReportStart;
    /**
     * 财务报告结束
     */
    @TableField("fin_report_end")
    private String finReportEnd;
    /**
     * 工作报告
     */
    @TableField("work_report")
    private Integer workReport;
    /**
     * 周报
     */
    private Integer weekly;
    /**
     * 月报
     */
    private Integer monthly;
    /**
     * 季报
     */
    private Integer quarterly;
    /**
     * 年报
     */
    private Integer year;
    /**
     * 结账类型
     */
    @TableField("set_type")
    private Integer setType;
    @TableField("set_typeDate")
    private Integer setTypedate;
    /**
     * 发票类型
     */
    @TableField("pri_type")
    private Integer priType;

    @TableField("contract_id")
    private Integer contractId;
    
    

    public Integer getContractId() {
		return contractId;
	}

	public void setContractId(Integer contractId) {
		this.contractId = contractId;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getFinReportStart() {
        return finReportStart;
    }

    public void setFinReportStart(String finReportStart) {
        this.finReportStart = finReportStart;
    }

    public String getFinReportEnd() {
        return finReportEnd;
    }

    public void setFinReportEnd(String finReportEnd) {
        this.finReportEnd = finReportEnd;
    }

    public Integer getWorkReport() {
        return workReport;
    }

    public void setWorkReport(Integer workReport) {
        this.workReport = workReport;
    }

    public Integer getWeekly() {
        return weekly;
    }

    public void setWeekly(Integer weekly) {
        this.weekly = weekly;
    }

    public Integer getMonthly() {
        return monthly;
    }

    public void setMonthly(Integer monthly) {
        this.monthly = monthly;
    }


    public String getDays() {
        return days;
    }

    public void setDays(String days) {
        this.days = days;
    }

    public Integer getQuarterly() {
        return quarterly;
    }

    public void setQuarterly(Integer quarterly) {
        this.quarterly = quarterly;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getSetType() {
        return setType;
    }

    public void setSetType(Integer setType) {
        this.setType = setType;
    }

    public Integer getSetTypedate() {
        return setTypedate;
    }

    public void setSetTypedate(Integer setTypedate) {
        this.setTypedate = setTypedate;
    }

    public Integer getPriType() {
        return priType;
    }

    public void setPriType(Integer priType) {
        this.priType = priType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpContractComprehensive{" +
        ", id=" + id +
        ", pid=" + pid +
        ", finReportStart=" + finReportStart +
        ", finReportEnd=" + finReportEnd +
        ", workReport=" + workReport +
        ", weekly=" + weekly +
        ", monthly=" + monthly +
        ", quarterly=" + quarterly +
        ", year=" + year +
        ", setType=" + setType +
        ", setTypedate=" + setTypedate +
        ", priType=" + priType +
        "}";
    }
}
